package cn.bellychang.visitor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ChangLiang
 * @date 2020/4/14
 */
public class ConstantPool {

    private List<ConstantInfo> constantInfos = new ArrayList<ConstantInfo>();

    public void addConstantInfo(ConstantInfo info) {
        this.constantInfos.add(info);
    }

    public List<ConstantInfo> getConstantInfos() {
        return constantInfos;
    }
}
